<?php get_instance()->view('common/header');?>
<style>

    .swiper-slide {
        height: 100%;
        opacity: 0.4;
        -webkit-transition: 300ms;
        -moz-transition: 300ms;
        -ms-transition: 300ms;
        -o-transition: 300ms;
        transition: 300ms;
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
        transform: scale(0);
    }

    .swiper-slide-next,.swiper-slide-prev {
        opacity: 0.5;
        -webkit-transform: scale(0.8);
        -moz-transform: scale(0.8);
        -ms-transform: scale(0.8);
        -o-transform: scale(0.8);
        transform: scale(0.8);
    }
    .swiper-slide-active {
        top: 0;
        opacity: 1;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
</style>
<body class="bagimg" style="background: url(<?php echo $this->staticUrl?>img/jpg/pic24.jpg) no-repeat fixed;background-size:contain;">
<div class="swiper-container" style="margin-bottom:6%;padding-top: 75px;height: 75%;">
    <div class="swiper-wrapper">
        <?php foreach ($data as $k => $v):?>
            <div class="swiper-slide" style="background-image:url(<?php echo $v?>); background-size: cover;background-repeat:no-repeat;"></div>
        <?php endforeach;?>
    </div>
    <!-- Add Pagination -->
</div>
<div class="pr mb10" style="margin-top: 4em;">
    <div class="swiper-pagination" style="position: relative;bottom: auto;color: #999;font-size: 10px;"></div>
</div>
<a href="<?php echo $url?>" class="btn dk tc m0a" style="width: 100px;height: 30px;line-height: 30px;border:1px solid #0000ff; border-radius: 3px;font-size: 13px;color: #0000ff">立即加盟</a>
</body>
<script>
    var swiper = new Swiper('.swiper-container', {
        slidesPerView:1.5,
        centeredSlides: true,
        pagination: '.swiper-pagination',
        paginationType : 'fraction',
    });
</script>
<script src="<?php echo $this->staticUrl?>js/base.js"></script>
</html>
